@echo off 
rem::关闭redis
for /f "tokens=5" %%a in ('netstat -ano ^| findstr "16370"') do taskkill /PID %%a /F
rem::关闭img server
for /f "tokens=5" %%a in ('netstat -ano ^| findstr "7879"') do taskkill /PID %%a /F
rem::关闭java
for /f "tokens=5" %%a in ('netstat -ano ^| findstr "8089"') do taskkill /PID %%a /F

echo close success
pause